Better format string compilation warning
authorMattias Engdegård <mattiase@acm.org>
Mon, 22 Apr 2024 14:29:13 +0000 (16:29 +0200)
committerMattias Engdegård <mattiase@acm.org>
Mon, 22 Apr 2024 17:27:24 +0000 (19:27 +0200)
commite442161f11d11e5d4cac6bb1d5920a9ec36ad29f
tree6c8d9a53d2d9ccc93d64d2500684c8f01285f371
parenta2e327cbca1e756373109d4788ea635250d23224
Better format string compilation warning

* lisp/emacs-lisp/bytecomp.el (byte-compile-format-warn):
Speed up by eliminating the temporary buffer.
Detect invalid format sequences.  Use plurals properly.
* test/lisp/emacs-lisp/bytecomp-tests.el: Update test.
lisp/emacs-lisp/bytecomp.el
test/lisp/emacs-lisp/bytecomp-tests.el